<?php
  use Zend\Session\Container;
 $SESSION = new Container('user');
?>
<!DOCTYPE html>
<html>

<head>
	<style>
		.seting_flag a{
			background:none !important;
			float:none !important;
			color:#333 !important;
		}
		.login-form-sec input[type="checkbox"]{
			margin:4px 5px 0 10px !important;
		}
	</style>
</head>
<body>
<!--CONTENT SECTION START-->

<div id="main-wrapper-sec">

<section>

	<!--INNER MAIN TITLE SECTION START-->

    <h2 class="inner-main-title pr-title">login</h2>
    
    <!--INNER MAIN TITLE SECTION END-->
    
    <!--CONTENT MAIN SECTION START-->
    
  <div class="content-main-sec">
  
  <!--INNER CONTENT LEFT MENU SECTION START-->
  
  <ul class="inner-left-menu-sec">
    <?php include('leftmenu.phtml');?>
  </ul>
  
  <!--INNER CONTENT LEFT MENU SECTION END-->
  
  <!--INNER CONTENT RIGHT SECTION START-->
  
  <article class="inner-cont-right-sec">
  
  <h1 class="inner-cont-title">User Settings
  </h1>
  
  <div class="clear"></div>
  
  <!--SETTING FIELDS SECTION START-->

	<aside class="set-main-sec" style="padding-top:40px;!important;">
		<form name="formid" id="formid" method="POST" onsubmit="return settingValidate()">
		<ul class="login-form-sec">
		<li style="padding-bottom:0px !important;"><label>&nbsp;</label><span id="error_conuntry_id" class="setting_valid_error_message" ></span><span id="error_snum" class="setting_valid_error_message setting_marl10" ></span></li>
		  <li>
			<label>Destination Mobile Number :</label><span>&nbsp;&nbsp;</span>	
			<select name="type" style="margin:0px 2px 0px 0px;width:81px;height:24px;" id="type" onchange="typeRequired()"/>
				<option value="00">Premium</option>
				<option value="">Standard</option>
			</select>&nbsp;&nbsp;
			<span id="error_conuntry_id" /></span>
			 <span style="float:left;width:100px;margin-left:8px;"><?php include('flag.phtml');?></span>
			<!--<input name="tags" style="margin:0px 0px 0px -9px;width:68px;" id="tags" type="text" value="<?php //if($destID!=''){ echo $destID; }else{ echo '91'; } ?>"  onblur="removeRequired()"/>-->
			<span id="error_snum" /></span>
			<input name="snum"  id="snum" type="text" value="<?php if(isset($destNUM)){ echo $destNUM; }else{ echo ''; } ?>">
		  </li>
		  <li>
		  <label>&nbsp;</label>
			  <div class="set-lg-sf-sec"><input name="call_f" id="call_f" type="checkbox" value="" onclick="destNumber()" <?php if($destNUM!=''){ echo 'checked="checked"';} ?> />
				<?php if($destNUM!=''){ ?>
				<span id="call_active">Call forwarding Active</span>
				<?php }else{ ?>
				<span id="call_active" >Call forwarding InActive</span>
				<?php } ?>
			  </div>
		  </li>
		  <li style="padding-bottom:0px !important;"><label>&nbsp;</label>
		  <span id="error_call_id" class="setting_valid_error_message" ></span>
		  <span id="error_destnum" class="setting_valid_error_message setting_marl10" ></span></li>
		  <li><label>Enables you to show a different called ID :</label><span>&nbsp;&nbsp;</span> 
				<!--<input name="tags1" style="margin:0px 0px 0px -9px;width:68px;" id="tags1" type="text" value="<?php //if($disID!=''){ echo $disID; }else{ echo '91'; } ?>" />-->
				<span style="float:left;width:100px;margin-left:8px;"><?php include('cflag.phtml');?></span>&nbsp;&nbsp;&nbsp;
				<input name="destnum" id="destnum" type="text" value="<?php if(isset($disNUM)){ echo $disNUM; }else{ echo ''; } ?>" />
		  </li>
		  <li><label>&nbsp;</label>
			  <div class="set-lg-sf-sec">
				  <input name="call_f1" id="call_f1" type="checkbox" onclick="disNum()" <?php if($disNUM!=''){ echo 'checked="checked"';} ?> />
				  <?php if($disNUM!=''){ ?>
				  <span id="called_id11">Display called ID</span>
				  <?php }else{ ?>
				  <span id="called_id11">Display called ID InActive </span>
				  <?php } ?>
			  </div>
		  </li>
		  <li><input type="submit" value="save"><a href="<?php echo $this->url('dashboard', array('action' => 'dashboard'));?>" class="cancel" >cancel</a>
		  </li>
		</ul>
		</form><br/>
		<?php if(isset($_GET['id']) && $_GET['id']==2){  ?>
		<p id="success" style="color:green;margin:0px 0px 0px 267px;">Successfully Updated</p><?php } ?>
	</aside>
  <!--SETTING FIELDS SECTION END-->
  </article>
  
  <!--INNER CONTENT RIGHT SECTION END-->
  
  </div>
  
  <!--CONTENT MAIN SECTION END-->
  
  <div class="clear"></div>
  
  <!--CLIENTS AREA SECTION START-->
  
  <aside class="content-main-sec ot-lg-sec"> <img src="<?php echo $this->basePath(); ?>/images/truste.jpg" alt=""> <img src="<?php echo $this->basePath(); ?>/images/secured.jpg" alt=""> <img src="<?php echo $this->basePath(); ?>/images/mcafeev.jpg" alt="">
    <h3 class="otg-title">Trusted. Safe. Reliable.</h3>
  </aside>
  
  <!--CLIENTS AREA SECTION END-->
  
 <div class="clear"></div>
</section>

</div>
</body>
</html>
